package com.zmn.uac.common.info.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：微信公众号用户信息
 *
 * @author xujie
 * @since 2021/06/15 10:37
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信公众号用户信息")
public class WeChatOfficialAccountUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer subscribe;

    private String openid;

    private String nickname;

    /**
     * 性别  公众号用sex表示
     */
    private Integer sex;

    /**
     * 性别 小程序用gender表示
     */
    private Integer gender;

    private String language;

    private String city;

    private String province;

    private String country;

    /**
     * 用户头像  公众号用headimgurl表示
     */
    @JSONField(name = "headimgurl")
    private String headImgUrl;

    /**
     * 用户头像  小程序用avatarUrl表示
     */
    private String avatarUrl;

    @JSONField(name = "subscribe_time")
    private String subscribeTime;

    @JSONField(name = "unionid")
    private String unionId;

    private String remark;

    @JSONField(name = "groupid")
    private Integer groupId;

    @JSONField(name = "tagid_list")
    private List<Integer> tagIdList;

    @JSONField(name = "subscribe_scene")
    private String subscribeScene;

    @JSONField(name = "qr_scene")
    private Integer qrScene;

    @JSONField(name = "qr_scene_str")
    private String qrSceneStr;
}
